//
//  POSApplyListStore.m
//  NewPro
//
//  Created by 何荧红 on 2019/5/8.
//  Copyright © 2019 何荧红. All rights reserved.
//

#import "POSApplyListStore.h"

@implementation POSApplyListStore

#pragma mark 申请列表
- (void)GetApplyListWithPrams:(NSDictionary *)prams Success:(void(^)(NSDictionary *res))success Failure:(void(^)(NSError *error))failure{
    NSString *url = [NSString stringWithFormat:@"%@/api/merchant/customer/list",IP];
    [HttpTool getUrlWithString:url parameters:prams success:^(id responseObject) {
        NSError *erro = [HttpTool inspectError:responseObject];
        if (erro == nil) {
            success(responseObject);
        }else{
            failure(erro);
        }
    } failure:^(NSError *error) {
        failure(error);
    }];
}


@end
